/*
 * @Author: sichuntian sichuntian@smartmappingtek.com
 * @Date: 2023-11-15 11:00:13
 * @LastEditors: sichuntian sichuntian@smartmappingtek.com
 * @LastEditTime: 2024-05-16 16:05:42
 * @Description:公共接口
 *
 */
import http from "@/api/http"

const common = {
  // 保存点位
  saveSignApi(params) {
    return http.post("/common/saveSign", params)
  },
  // 删除点位
  delSignApi(params) {
    return http.post("/common/delSign", params)
  },
  // 获取路牌列表
  getSignListApi(params) {
    return http.post("/common/getSignList", params)
  },
  // 保存矢量线
  saveVectorLineApi(params) {
    return http.post("/common/saveVectorLine", params)
  },
  // 获取所有矢量线信息
  getAllVectorLinesApi(params) {
    return http.post("/common/getAllVectorLines", params)
  },
  // 保存漫游路线
  saveRouteLineApi(params) {
    return http.post("/common/saveRouteLine", params)
  },
  // 获取所有矢量线信息
  getAllRouteLinesApi(params) {
    return http.post("/common/getAllRouteLines", params)
  },
}
export default common
